use "MilnerKubotaReplication.dta"

xtset country date

*TABLE2 TARIFF RATES 

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  date  i.country, corr(ar1) pairwise
estimates store m21

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  l1ecris2  date  i.country, corr(ar1) pairwise
estimates store m22

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  l1bpc1  date  i.country, corr(ar1) pairwise
estimates store m23

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  l1signed  date  i.country, corr(ar1) pairwise
estimates store m24

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  l1usheg date  i.country, corr(ar1) pairwise
estimates store m25

xi: xtpcse   newtar  elite2_l1   l1lnpop  l1gdp_pc  l1fiveop date  i.country, corr(ar1) pairwise
estimates store m26
esttab m2* using mkrep_elite.tex, cells(b(star) se(par)) stats(N N_g r2 chi2 p, labels("Observations" "Countries" "R-squared" "Wald chi2" "Prob>chi2")) title("Table 2. Dependent Variable: Statutory Tariff Rates") varlabels(_cons Constant elite2_l1 "ELITE-LED" l1ecris2 "EC CRISIS" l1bpc1 "BP CRISIS" l1signed "IMF" l1office "OFFICE" l1avnewtar "AV TARIFF" l1gatt_wto_new "GATT" l1fdi "FDI" l1lnpop "LN POP" l1gdp_pc "GDP PC" l1usheg "US HEG" l1fiveop "FIVE OPEN") legend style(tab)

*TABLE2 TARIFF RATES 

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  date  i.country, corr(ar1) pairwise
estimates store m31

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  l1ecris2  date  i.country, corr(ar1) pairwise
estimates store m32

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  l1bpc1  date  i.country, corr(ar1) pairwise
estimates store m33

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  l1signed  date  i.country, corr(ar1) pairwise
estimates store m34

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  l1usheg date  i.country, corr(ar1) pairwise
estimates store m35

xi: xtpcse   newtar  mass2_l1   l1lnpop  l1gdp_pc  l1fiveop date  i.country, corr(ar1) pairwise
estimates store m36
esttab m3* using mkrep_mass.tex, cells(b(star) se(par)) stats(N N_g r2 chi2 p, labels("Observations" "Countries" "R-squared" "Wald chi2" "Prob>chi2")) title("Table 2. Dependent Variable: Statutory Tariff Rates") varlabels(_cons Constant elite2_l1 "MASS-LED" l1ecris2 "EC CRISIS" l1bpc1 "BP CRISIS" l1signed "IMF" l1office "OFFICE" l1avnewtar "AV TARIFF" l1gatt_wto_new "GATT" l1fdi "FDI" l1lnpop "LN POP" l1gdp_pc "GDP PC" l1usheg "US HEG" l1fiveop "FIVE OPEN") legend style(tab)

